class TxtOperate(object):

    def Readtxt(self,path):
        with open(path, 'r+') as f:
            s=f.readline()
            l=s.split(',')
            print(l)
            for i in range(len(l)):
                print(l[i])
        print('Read Done!')
        return l

    def Writetxt(self,path,content):
        with open(path, 'w+') as f:
            f.write(content)
        print('Write Done!')

    